using System;
using UnityEngine;

namespace Voodoo.Sauce.Internal.Ads
{
	[Serializable]
	public class AdUnits
	{
		[Tooltip("Leave blank if you don't want banner ads in your game")]
		public string BannerAdUnit = string.Empty;

		[Tooltip("Leave blank if you don't want interstitial ads in your game")]
		public string InterstitialAdUnit = string.Empty;

		[Tooltip("Leave blank if you don't want rewarded video ads in your game")]
		public string RewardedVideoAdUnit = string.Empty;

		public AdUnits()
		{
			BannerAdUnit = string.Empty;
			InterstitialAdUnit = string.Empty;
			RewardedVideoAdUnit = string.Empty;
		}

		public AdUnits(string bannerAdUnit, string interstitialAdUnit, string rewardedVideoAdUnit)
		{
			BannerAdUnit = bannerAdUnit;
			InterstitialAdUnit = interstitialAdUnit;
			RewardedVideoAdUnit = rewardedVideoAdUnit;
		}

		public bool IsEmpty()
		{
			return string.IsNullOrEmpty(BannerAdUnit) && string.IsNullOrEmpty(InterstitialAdUnit) && string.IsNullOrEmpty(RewardedVideoAdUnit);
		}
	}
}
